package org.levi.demo.feignClient;

import org.levi.demo.fallback.ResumeServiceFallBack;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name="RESUME-SERVICE",path = "/resume",fallback = ResumeServiceFallBack.class)
public interface ResumeServiceFeignClient {

    @GetMapping("/openState/{userId}")
    Integer findDefaultResumeState(@PathVariable Long userId);
}
